﻿using System.Configuration;

namespace OperationPlugins.Configurations
{
    public sealed class RegexPatternElement : ConfigurationElement
    {
        /// <summary>
        /// The regular expression pattern to match.
        /// </summary>
        [ConfigurationProperty("pattern", IsRequired = true)]
        public string Pattern
        {
            get { return this["pattern"] as string; }
        }        
    }
}
